﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ServiceFramework;

namespace ServiceFramework
{
    public class MessageDispatcher : IMessageDispatcher
    {
        private readonly Dictionary<string, IServiceComponent> _components =
            new Dictionary<string, IServiceComponent>();

        public void AddClientComponent(IServiceComponent clientComponent)
        {
            //_components.Add(clientComponent.SourceServiceComponent, clientComponent);
        }

        public void DispatchMessage(string sourceComponent, string message)
        {
            //_components[sourceComponent].ProcessMessage(message);
        }
    }
}